package com.niiwoo.civet.mobile.vo.response.intelligenceInvest;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

import java.math.BigDecimal;
import java.util.Date;

/**
 * Created by HuangMin on 2018/10/26.
 */
@Getter
@Setter
@ApiModel("智能投包订单详情响应VO")
public class IntelligenceOrderDetailResponseVO {

    @ApiModelProperty(value = "包投资订单编号", required = true)
    private Long packageInvestOrderId;
    @ApiModelProperty(value = "包ID", required = true)
    private Long packageId;
    @ApiModelProperty(value = "包名称",  required = true)
    private String title;
    @ApiModelProperty(value = "借款期限", required = true)
    private Integer deadline;
    @ApiModelProperty(value = "借款期限单位-1月，2天", required = true)
    private Byte deadlineUnit;
    @ApiModelProperty(value = "借款利率", required = true)
    private BigDecimal borrowRate;
    @ApiModelProperty(value = "标的加息(不加为0)", required = true)
    private BigDecimal addRate;
    @ApiModelProperty(value = "待收本息", required = true)
    private BigDecimal totalRepayPriInter;
    @ApiModelProperty(value = "已回金额", required = true)
    private BigDecimal repayAmount;
    @ApiModelProperty(value = "投资本金", required = true)
    private BigDecimal amount;
    @ApiModelProperty(value = "参考收益/已赚收益(待收利息+平台或活动加息+加息券加息)", required = true)
    private BigDecimal referenceIncome;
    @ApiModelProperty(value = "待收利息/已收利息", required = true)
    private BigDecimal interest;
    @ApiModelProperty(value = "已收罚息", required = true)
    private BigDecimal penaltyFee;
    @ApiModelProperty(value = "平台或活动加息", required = true)
    private BigDecimal platformAddInterest;
    @ApiModelProperty(value = "加息券加息", required = true)
    private BigDecimal prizeAddInterest;
    @ApiModelProperty(value = "订单状态:0处理中，1投资中，2回款中，3回款逾期，4已关闭，5已结清", required = true)
    private Byte status;
    @ApiModelProperty(value = "包类型(1：普通智能投，2：新手智能投)", required = true)
    private Byte packageType;
    @ApiModelProperty(value = "还款方式:1到期还本息，2等额本息，3按月还息，到期还本", required = true)
    private Byte repaymentType;
    @ApiModelProperty(value = "投资使用卡劵", required = true)
    private String prize;
    @ApiModelProperty(value = "结清日期", required = true)
    private Date repayTime;
    @ApiModelProperty(value = "提交时间", required = true)
    private Date submitTime;
    @ApiModelProperty(value = "关闭时间", required = true)
    private Date endTime;
    @ApiModelProperty(value = "关闭原因", required = true)
    private String message;
    @ApiModelProperty(value = "智能投个数", required = true)
    private Integer intelligenceCount;

}
